package com.jic.point.mapper;
import java.util.List;
import java.util.Map;

import com.jic.point.model.entity.ConfActivityRuleDetail;
import org.apache.ibatis.annotations.Param;

public interface ConfActivityRuleDetailMapper {
	/**
	 * CONF_ACTIVITY_RULE_DETAIL插入数据
	 * @param confActivityRuleDetail 入参实体类
	 */
	int insert (ConfActivityRuleDetail confActivityRuleDetail);

	/**
	 * CONF_ACTIVITY_RULE_DETAIL插入数据
	 * @param confActivityRuleDetail 入参实体类
	 */
	int insertSelective (ConfActivityRuleDetail confActivityRuleDetail);

	/**
	 * CONF_ACTIVITY_RULE_DETAIL根据表对象数据修改数据
	 * @param confActivityRuleDetail 入参实体类
	 */
	int updateByPrimaryKey (ConfActivityRuleDetail confActivityRuleDetail);

	/**
	 * CONF_ACTIVITY_RULE_DETAIL根据表对象数据修改数据
	 * @param confActivityRuleDetail 入参实体类
	 */
	int updateByPrimaryKeySelective (ConfActivityRuleDetail confActivityRuleDetail);

	/**
	 * CONF_ACTIVITY_RULE_DETAIL根据id删除数据
	 * @param confActivityRuleDetail 入参实体类
	 */
	int deleteByPrimaryKey (ConfActivityRuleDetail confActivityRuleDetail);

	/**
	 * CONF_ACTIVITY_RULE_DETAIL根据主键查询数据
	 * @param confActivityRuleDetail 入参实体类
	 */
	ConfActivityRuleDetail selectByPrimaryKey (ConfActivityRuleDetail confActivityRuleDetail);

	/**
	 * CONF_ACTIVITY_RULE_DETAIL根据主键查询数据
	 * @param confActivityRuleDetail 入参实体类
	 */
	List<ConfActivityRuleDetail> listPageBySelective (ConfActivityRuleDetail confActivityRuleDetail);

	/**
	 * CONF_ACTIVITY_RULE_DETAIL查询数据
	 * @param confActivityRuleDetail 入参实体类
	 */
	List<ConfActivityRuleDetail>  selectBySelective (ConfActivityRuleDetail confActivityRuleDetail);

    int saveListDetail(@Param("ltemp") List<Map> ltemp);
}
